/*************************************************
filename	: font.h
author		: Stefan lulham
desc		: Contains the base graphics font class
*************************************************/
#ifndef D_FONT_H
#define D_FONT_H

#define DELGE_GRAPHICS_FONT_CHARACTERCOUNT 128

#include <delgeError.h>

using namespace DelGE;

namespace DelGE
{
	namespace Modules
	{
		namespace Graphics
		{
			class Font
			{
			protected:
				int iSize;
				int piCharacterSize[DELGE_GRAPHICS_FONT_CHARACTERCOUNT][2];
				float pfCharacterUV[DELGE_GRAPHICS_FONT_CHARACTERCOUNT][2];
				float pfCharacterOffset[DELGE_GRAPHICS_FONT_CHARACTERCOUNT][2];
				int piBitmapSize[DELGE_GRAPHICS_FONT_CHARACTERCOUNT][2];

			public:
				virtual ~Font() {};
				
				int GetSize();
				int* GetCharacterSize(char cCharacter);
				float* GetCharacterUV(char cCharacter);
				float* GetCharacterOffset(char cCharacter);
				int* GetBitmapSize(char cCharacter);
			};
		}
	}
}

#endif